package com.append.design.abstactfactory;

//具体工厂  
class SportDriver extends Driver3 {
	
	public BenzCar createBenzCar(String car) throws Exception {
		return new BenzSportCar();
	}

	public BmwCar createBmwCar(String car) throws Exception {
		return new BmwSportCar();
	}

	public AudiCar createAudiCar(String car) throws Exception {
		return new AudiSportCar(car);
	}
}
